@import "../../assets/css/reset.css";
@import "../../assets/css/common.css";
@import "../../assets/css/property.css";
.header {
  position: static;
  border-bottom: 1px solid #aec7ec;
  .nav {
    a {
      color: #666;
    }
  }
  .login-reg {
    a:first-child {
      color: #666;
    }
  }
}
// 主体
.api-cate {
  margin-top: 50px;
  h2 {
    font-size: 28px;
    color: #3d3e3e;
  }
  ul {
    margin-top: 30px;
    li {
      border: 1px solid #ddd;
      padding: 5px 15px;
      border-radius: 10px;
      margin-bottom: 10px;
      margin-right: 10px;
      font-size: 14px;
      color: #666;
      cursor: pointer;
      &:hover {
        color: #00bdff;
        border-color: #00bdff;
      }
    }
    .active {
      color: #00bdff;
      border-color: #00bdff;
      // display: none;
    }
  }
  .api-cate-search {
    input {
      width: 230px;
      height: 30px;
      border: none;
      background-color: #f4f4f4;
      color: #666;
      border-radius: 16px;
      text-indent: 16px;
      font-size: 12px;
      margin-left: 16px;
    }
    b {
      font-size: 14px;
      color: #3d3e3e;
      line-height: 30px;
    }
    & > div {
      position: relative;
    }
    img {
      position: absolute;
      cursor: pointer;
      right: 10px;
      top: 8px;
    }
  }
}
// api列表
.api-list {
  margin-top: 20px;
  li {
    width: 232px;
    height: 270px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;

    &:hover a {
      margin-top: 5px;
      transition: 500ms;
    }
    span {
      width: 58px;
      height: 22px;
      display: block;
      color: #00bdff;
      background-color: #e5f8ff;
      font-size: 12px;
      text-align: center;
      line-height: 22px;
      position: absolute;
      left: 15px;
      top: 15px;

      display: none;
      &.on {
        display: block;
      }
    }
    a {
      display: block;
      text-align: center;
      margin-top: 20px;
      img {
        margin-top: 50px;
      }
      .item-name {
        font-size: 12px;
        color: #666;
        margin: 15px 0;
      }
      .item-price {
        font-size: 12px;
      }
    }
    button {
      width: 192px;
      height: 32px;
      color: #fff;
      background-color: #00bdff;
      border: none;
      cursor: pointer;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -32px;

      transition: all 0.3s linear;
    }
    &:hover button {
      bottom: 20px;
    }
  }
  .red {
    color: #f00;
  }
  .green {
    color: green;
  }
}

// 分页
.page {
  text-align: center;
  margin: 40px 0 60px;
  a {
    width: 24px;
    height: 24px;
    display: inline-block;
    line-height: 24px;
    border-radius: 50%;
    font-size: 14px;
    color: #000;
    margin-right: 15px;
    &.on {
      background-color: #00bdff;
      color: #fff;
    }
  }
  .drop {
    margin-right: 15px;
  }
  .next-page {
    color: #00bdff;
    cursor: pointer;
  }
}
// 尾部
.footer {
  background-color: #f8f8f8;
}
// 蒙层
.mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.3);

  display: none;
  // 内容
  .big-data-login {
    width: 400px;
    height: 550px;
    background-color: #fff;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    .login-img {
      padding-top: 10px;
      margin-bottom: 30px;
    }
    .tabs {
      width: 360px;
      height: 384px;
      .tabs-top {
        width: 295px;
        height: 44px;
        line-height: 44px;
        // background-color: #00bdff;
        font-size: 16px;
        color: #555;
        margin-left: 30px;
        margin-bottom: 40px;
        .tabs-list {
          position: relative;
          li {
            cursor: pointer;

            &.active {
              color: #00bdff;
              border-bottom: 3px solid #00bdff;
            }
          }
          span {
            display: block;
            width: 3px;
            height: 15px;
            background-color: #ccc;
            margin: 0 20px;
          }
        }
      }
      .tabs-bottom {
        width: 360px;
        height: 250px;
        & > div {
          width: 360px;
          height: 300px;
          display: none;
        }
        .on {
          display: block;
        }
        .form {
          margin-top: 20px;
          p {
            margin: 20px 0;
            position: relative;
            input {
              width: 100%;
              height: 40px;
              box-sizing: border-box;
              border: none;
              border-bottom: 1px solid #e7e7e7;
              color: #000;
              font-size: 12px;
              padding: 0 30px;
            }
            .span1,
            .span2 {
              width: 30px;
              height: 30px;
              display: block;
              background-color: #00bdff;

              background: url(../../assets/imgs/loginIcon.png) no-repeat;
              position: absolute;
              background-position: -53px 4px;
            }
            .span2 {
              background-position: -24px 4px;
            }
            button {
              width: 100%;
              height: 40px;
              background-color: #00bdff;
              text-align: center;
              border: none;
              cursor: pointer;
              color: #fff;
            }
          }
          .forget {
            display: block;
            color: #00bdff;
            font-size: 14px;
            text-align: right;
          }
          .account {
            color: #909090;
            font-size: 14px;
            text-align: right;
            margin-left: 70px;
            position: relative;
            a {
              color: #00bdff;
            }
            em {
              width: 20px;
              height: 20px;
              display: block;
              position: absolute;
              right: -23px;
              top: 0;
              background: url(../../assets/imgs/loginIcon.png) no-repeat;
              background-position: -55px -35px;
            }
          }
        }
        .code {
          .item-content {
            width: 290px;
            height: 240px;
            background-color: #fcfcfc;
            border: 1px solid #eee;
            font-size: 14px;
            margin-left: 35px;
            img {
              width: 120px;
              height: 120px;
              margin-top: 30px;
            }
            p {
              line-height: 30px;
            }
          }
          .account2 {
            width: 290px;
            text-align: left;
            margin: 20px auto;
            color: #909090;
            font-size: 14px;
            a {
              color: #00bdff;
            }
          }
        }
      }
    }
  }
}
